//=============================================================================
/**
 * @file	pkthln_push_sub.h
 * @brief	おしくらまんじゅう
 * @date	2008.06.18
 */
//=============================================================================

#ifndef	__PKTHLN_PUSH_SUB_H__
#define	__PKTHLN_PUSH_SUB_H__

#include "common.h"
#include "../pkthln_clact.h"

#define SUB_DISP_DISTANCE	(512 * FX32_ONE)
#define SUB_WIDE_SCREEN_CHAR_SIZE	(32*4)		//サブ画面のワイドスクリーン使用キャラ数

typedef struct SUB_DISP_CNT_tag * SUB_DISP_CNT_PTR;

#include "../../pokethlon.h"

extern SUB_DISP_CNT_PTR PushSub_Init( 	const int inHeapID,
										GF_BGL_INI *inBgl,
										PKTHLN_PTR pkthlnPtr );
extern void PushSub_Free( SUB_DISP_CNT_PTR ptr );
extern void PushSub_SetScreen(SUB_DISP_CNT_PTR ptr);
extern void PushSub_SetupPokeGraphic(SUB_DISP_CNT_PTR ptr);
extern void PushSub_SetTrnsPokeRes(PKTHLN_CLACT_CNT_PTR inPokeActPtr, SUB_DISP_CNT_PTR ptr);
extern void PushSub_SetPoke(PKTHLN_CLACT_CNT_PTR inActCntPtr, SUB_DISP_CNT_PTR ptr);
extern void PushSub_SetObj(PKTHLN_CLACT_CNT_PTR inActCntPtr, SUB_DISP_CNT_PTR ptr);
extern void PushSub_WriteWinInfo( SUB_DISP_CNT_PTR ptr );
extern void PushSub_UpdateRoundDisp(SUB_DISP_CNT_PTR ptr, const u8 inRound);

//デモ関連
extern void PushSub_PlayDemoMain(SUB_DISP_CNT_PTR ptr, const BOOL inPause, const u8 *inFallList);
extern void PushSub_ScoreUpdate(SUB_DISP_CNT_PTR ptr, u8 inScore, u8 inNetID);
extern u8 PushSub_GetDispScore(SUB_DISP_CNT_PTR ptr);
extern void PushSub_StartPointEff(SUB_DISP_CNT_PTR ptr, const u8 inNetID, const u8 inScoreNo);

#endif	//__PKTHLN_PUSH_SUB_H__